package com.ourteam.education.dao;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;
/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:09
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
public class TeacherCampusRelateDAOQueryBean extends BaseQueryBean {
    
    public TeacherCampusRelateDAOQueryBean() {
		super();
    }
	
    public TeacherCampusRelateDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }
    
    public TeacherCampusRelateDAOQueryBean(BaseQueryBean aQueryBean,Map tableReplaceMap) {
        super(aQueryBean,tableReplaceMap);
    }
    
    public Criteria createCriteria() {
        
	    Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
                  oredCriteria.add(criteria);
            }
        return criteria;
     }
	
    protected Criteria createCriteriaInternal() {
	  return new Criteria(this);
    }
    
        
        
    	
		
	    
    public void addIdSelectProperty(){
		addIdSelectProperty("id");
	}
	
    public void addIdSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(ITeacherCampusRelateDAO.Id,aAlias);
		}
		else{
			addSelectProperty(ITeacherCampusRelateDAO.Id,"id");
	    }
    }
    
       
		
		
	    
    public void addTeacherIdSelectProperty(){
		addTeacherIdSelectProperty("teacherId");
	}
	
    public void addTeacherIdSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(ITeacherCampusRelateDAO.TeacherId,aAlias);
		}
		else{
			addSelectProperty(ITeacherCampusRelateDAO.TeacherId,"teacherId");
	    }
    }
    
       
		
		
	    
    public void addCampusIdSelectProperty(){
		addCampusIdSelectProperty("campusId");
	}
	
    public void addCampusIdSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(ITeacherCampusRelateDAO.CampusId,aAlias);
		}
		else{
			addSelectProperty(ITeacherCampusRelateDAO.CampusId,"campusId");
	    }
    }
    
       
		
						
	    
    public void addTeacherNameSelectProperty(){
		addTeacherNameSelectProperty("teacherName");
	}
	
    public void addTeacherNameSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(ITeacherCampusRelateDAO.TeacherName,aAlias);
		}
		else{
			addSelectProperty(ITeacherCampusRelateDAO.TeacherName,"teacherName");
	    }
    }
    
    	
								
	    
    public void addCampusNameSelectProperty(){
		addCampusNameSelectProperty("campusName");
	}
	
    public void addCampusNameSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(ITeacherCampusRelateDAO.CampusName,aAlias);
		}
		else{
			addSelectProperty(ITeacherCampusRelateDAO.CampusName,"campusName");
	    }
    }
    
    	
				
	public void addAllSelectProperties(){
		
		
	    addIdSelectProperty();
   
		
		
	    addTeacherIdSelectProperty();
   
		
		
	    addCampusIdSelectProperty();
   
		
						
    	addTeacherNameSelectProperty();
	
								
    	addCampusNameSelectProperty();
	
			    }
    
    public static class Criteria extends BaseWhereCriterion<TeacherCampusRelateDAOQueryBean> {
	
        protected Criteria(TeacherCampusRelateDAOQueryBean aParentObject) {
		    super(aParentObject);
        }
        
                  
            	
    	    	
    	        
                
        public Criteria andIdIsNull() {
            addCriterion(ITeacherCampusRelateDAO.Id + " is null");
            return this;
        }
        public Criteria andIdIsNotNull() {
            addCriterion(ITeacherCampusRelateDAO.Id + " is not null");
            return this;
        }
    
        public Criteria andIdIsNotEmpty() {        
            addCriterion(ITeacherCampusRelateDAO.Id + " is not null AND " + ITeacherCampusRelateDAO.Id + " <> ''");
            return this;
        }
    		
    	public Criteria andIdIsEmpty() {       
            addCriterion("(" + ITeacherCampusRelateDAO.Id + " is null OR " + ITeacherCampusRelateDAO.Id + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andIdEqualTo(long value) {
        	return andIdEqualTo(Long.valueOf(value));
        }
               public Criteria andIdEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.Id + " = ", value, "id");
            return this;
        }
        
        public Criteria andIdEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andIdNotEqualTo(long value) {
        	return andIdNotEqualTo(Long.valueOf(value));
        }
                public Criteria andIdNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.Id + " <>", value, "id");
            return this;
        }
               
        public Criteria andIdNotEqualToOrIsNull(long value) {
        	return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.Id + " is null OR " + ITeacherCampusRelateDAO.Id + " <>", value, "id");
            return this;
        }
        
        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andIdGreaterThan(long value) {
        	return andIdGreaterThan(Long.valueOf(value));
        }
                public Criteria andIdGreaterThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.Id + " >", value, "id");
            return this;
        }
        
        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andIdGreaterThanOrEqualTo(long value) {
        	return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.Id + " >=", value, "id");
            return this;
        }
        
        public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdLessThan(long value) {
        	return andIdLessThan(Long.valueOf(value));
        }
                public Criteria andIdLessThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.Id + " <", value, "id");
            return this;
        }
        
        public Criteria andIdLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdLessThanOrEqualTo(long value) {
        	return andIdLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.Id + " <=", value, "id");
            return this;
        }
        
        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.Id);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andIdIn(long[] values) {
        	if(values.length == 1){
        		return andIdEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " in", values, "id");
            	return this;
            }
        }
        
        public Criteria andIdNotIn(long[] values) {
        	if(values.length == 1){
        		return andIdNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " not in", values, "id");
            	return this;
            }
        }
        
                public Criteria andIdIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andIdEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " in", values, "id");
            	return this;
            }
        }
        public Criteria andIdNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andIdNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " not in", values, "id");
            	return this;
            }
        }
        
        public Criteria andIdIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andIdEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " in", Arrays.asList(values), "id");
            	return this;
            }
        }
        public Criteria andIdNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andIdNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.Id + " not in", Arrays.asList(values), "id");
            	return this;
            }
        }
		
		public Criteria andIdIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andIdNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.Id + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.Id + " between", value1, value2, "id");
            return this;
        }
                public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.Id + " between", value1, value2, "id");
            return this;
        }
        
                
        public Criteria andIdNotBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.Id + " not between", value1, value2, "id");
            return this;
        }
                public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.Id + " not between", value1, value2, "id");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andTeacherIdIsNull() {
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " is null");
            return this;
        }
        public Criteria andTeacherIdIsNotNull() {
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " is not null");
            return this;
        }
    
        public Criteria andTeacherIdIsNotEmpty() {        
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " is not null AND " + ITeacherCampusRelateDAO.TeacherId + " <> ''");
            return this;
        }
    		
    	public Criteria andTeacherIdIsEmpty() {       
            addCriterion("(" + ITeacherCampusRelateDAO.TeacherId + " is null OR " + ITeacherCampusRelateDAO.TeacherId + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andTeacherIdEqualTo(long value) {
        	return andTeacherIdEqualTo(Long.valueOf(value));
        }
               public Criteria andTeacherIdEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " = ", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andTeacherIdNotEqualTo(long value) {
        	return andTeacherIdNotEqualTo(Long.valueOf(value));
        }
                public Criteria andTeacherIdNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " <>", value, "teacherId");
            return this;
        }
               
        public Criteria andTeacherIdNotEqualToOrIsNull(long value) {
        	return andTeacherIdNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andTeacherIdNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " is null OR " + ITeacherCampusRelateDAO.TeacherId + " <>", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andTeacherIdGreaterThan(long value) {
        	return andTeacherIdGreaterThan(Long.valueOf(value));
        }
                public Criteria andTeacherIdGreaterThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " >", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andTeacherIdGreaterThanOrEqualTo(long value) {
        	return andTeacherIdGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andTeacherIdGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " >=", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andTeacherIdLessThan(long value) {
        	return andTeacherIdLessThan(Long.valueOf(value));
        }
                public Criteria andTeacherIdLessThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " <", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andTeacherIdLessThanOrEqualTo(long value) {
        	return andTeacherIdLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andTeacherIdLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " <=", value, "teacherId");
            return this;
        }
        
        public Criteria andTeacherIdLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherId);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andTeacherIdIn(long[] values) {
        	if(values.length == 1){
        		return andTeacherIdEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " in", values, "teacherId");
            	return this;
            }
        }
        
        public Criteria andTeacherIdNotIn(long[] values) {
        	if(values.length == 1){
        		return andTeacherIdNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " not in", values, "teacherId");
            	return this;
            }
        }
        
                public Criteria andTeacherIdIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andTeacherIdEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " in", values, "teacherId");
            	return this;
            }
        }
        public Criteria andTeacherIdNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andTeacherIdNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " not in", values, "teacherId");
            	return this;
            }
        }
        
        public Criteria andTeacherIdIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andTeacherIdEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " in", Arrays.asList(values), "teacherId");
            	return this;
            }
        }
        public Criteria andTeacherIdNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andTeacherIdNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherId + " not in", Arrays.asList(values), "teacherId");
            	return this;
            }
        }
		
		public Criteria andTeacherIdIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andTeacherIdNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherId + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andTeacherIdBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.TeacherId + " between", value1, value2, "teacherId");
            return this;
        }
                public Criteria andTeacherIdBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " between", value1, value2, "teacherId");
            return this;
        }
        
                
        public Criteria andTeacherIdNotBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.TeacherId + " not between", value1, value2, "teacherId");
            return this;
        }
                public Criteria andTeacherIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.TeacherId + " not between", value1, value2, "teacherId");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andCampusIdIsNull() {
            addCriterion(ITeacherCampusRelateDAO.CampusId + " is null");
            return this;
        }
        public Criteria andCampusIdIsNotNull() {
            addCriterion(ITeacherCampusRelateDAO.CampusId + " is not null");
            return this;
        }
    
        public Criteria andCampusIdIsNotEmpty() {        
            addCriterion(ITeacherCampusRelateDAO.CampusId + " is not null AND " + ITeacherCampusRelateDAO.CampusId + " <> ''");
            return this;
        }
    		
    	public Criteria andCampusIdIsEmpty() {       
            addCriterion("(" + ITeacherCampusRelateDAO.CampusId + " is null OR " + ITeacherCampusRelateDAO.CampusId + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andCampusIdEqualTo(long value) {
        	return andCampusIdEqualTo(Long.valueOf(value));
        }
               public Criteria andCampusIdEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusId + " = ", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andCampusIdNotEqualTo(long value) {
        	return andCampusIdNotEqualTo(Long.valueOf(value));
        }
                public Criteria andCampusIdNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.CampusId + " <>", value, "campusId");
            return this;
        }
               
        public Criteria andCampusIdNotEqualToOrIsNull(long value) {
        	return andCampusIdNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andCampusIdNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.CampusId + " is null OR " + ITeacherCampusRelateDAO.CampusId + " <>", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andCampusIdGreaterThan(long value) {
        	return andCampusIdGreaterThan(Long.valueOf(value));
        }
                public Criteria andCampusIdGreaterThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusId + " >", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andCampusIdGreaterThanOrEqualTo(long value) {
        	return andCampusIdGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andCampusIdGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusId + " >=", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andCampusIdLessThan(long value) {
        	return andCampusIdLessThan(Long.valueOf(value));
        }
                public Criteria andCampusIdLessThan(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusId + " <", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andCampusIdLessThanOrEqualTo(long value) {
        	return andCampusIdLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andCampusIdLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusId + " <=", value, "campusId");
            return this;
        }
        
        public Criteria andCampusIdLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusId);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andCampusIdIn(long[] values) {
        	if(values.length == 1){
        		return andCampusIdEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " in", values, "campusId");
            	return this;
            }
        }
        
        public Criteria andCampusIdNotIn(long[] values) {
        	if(values.length == 1){
        		return andCampusIdNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " not in", values, "campusId");
            	return this;
            }
        }
        
                public Criteria andCampusIdIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andCampusIdEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " in", values, "campusId");
            	return this;
            }
        }
        public Criteria andCampusIdNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andCampusIdNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " not in", values, "campusId");
            	return this;
            }
        }
        
        public Criteria andCampusIdIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andCampusIdEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " in", Arrays.asList(values), "campusId");
            	return this;
            }
        }
        public Criteria andCampusIdNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andCampusIdNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusId + " not in", Arrays.asList(values), "campusId");
            	return this;
            }
        }
		
		public Criteria andCampusIdIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andCampusIdNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusId + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andCampusIdBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.CampusId + " between", value1, value2, "campusId");
            return this;
        }
                public Criteria andCampusIdBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.CampusId + " between", value1, value2, "campusId");
            return this;
        }
        
                
        public Criteria andCampusIdNotBetween(long value1,long value2) {
        	addCriterion(ITeacherCampusRelateDAO.CampusId + " not between", value1, value2, "campusId");
            return this;
        }
                public Criteria andCampusIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(ITeacherCampusRelateDAO.CampusId + " not between", value1, value2, "campusId");
            return this;
        }
        
            	
    	    	
    	    	    	    	    	    	
                
                
        public Criteria andTeacherNameIsNull() {
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " is null");
            return this;
        }
        public Criteria andTeacherNameIsNotNull() {
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " is not null");
            return this;
        }
    
        public Criteria andTeacherNameIsNotEmpty() {        
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " is not null AND " + ITeacherCampusRelateDAO.TeacherName + " <> ''");
            return this;
        }
    		
    	public Criteria andTeacherNameIsEmpty() {       
            addCriterion("(" + ITeacherCampusRelateDAO.TeacherName + " is null OR " + ITeacherCampusRelateDAO.TeacherName + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andTeacherNameEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " = ", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andTeacherNameNotEqualTo(String value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " <>", value, "teacherName");
            return this;
        }
               
        public Criteria andTeacherNameNotEqualToOrIsNull(String value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " is null OR " + ITeacherCampusRelateDAO.TeacherName + " <>", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andTeacherNameGreaterThan(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " >", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andTeacherNameGreaterThanOrEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " >=", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andTeacherNameLessThan(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " <", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andTeacherNameLessThanOrEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " <=", value, "teacherName");
            return this;
        }
        
        public Criteria andTeacherNameLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.TeacherName);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andTeacherNameLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andTeacherNameLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " like", buffer.toString(), "teacherName");
            return this;
        }
        public Criteria andTeacherNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " not like", buffer.toString(), "teacherName");
            return this;
        }
                
                public Criteria andTeacherNameIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andTeacherNameEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherName + " in", values, "teacherName");
            	return this;
            }
        }
        public Criteria andTeacherNameNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andTeacherNameNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherName + " not in", values, "teacherName");
            	return this;
            }
        }
        
        public Criteria andTeacherNameIn(String[] values) {
        	
        	if(values.length == 1){
        		return andTeacherNameEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherName + " in", Arrays.asList(values), "teacherName");
            	return this;
            }
        }
        public Criteria andTeacherNameNotIn(String[] values) {
        	if(values.length == 1){
        		return andTeacherNameNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.TeacherName + " not in", Arrays.asList(values), "teacherName");
            	return this;
            }
        }
		
		public Criteria andTeacherNameIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andTeacherNameNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.TeacherName + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andTeacherNameBetween(String value1, String value2) {
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " between", value1, value2, "teacherName");
            return this;
        }
        
                public Criteria andTeacherNameNotBetween(String value1, String value2) {
            addCriterion(ITeacherCampusRelateDAO.TeacherName + " not between", value1, value2, "teacherName");
            return this;
        }
        
            	
    	    	    	    	    	    	    	    	
                
                
        public Criteria andCampusNameIsNull() {
            addCriterion(ITeacherCampusRelateDAO.CampusName + " is null");
            return this;
        }
        public Criteria andCampusNameIsNotNull() {
            addCriterion(ITeacherCampusRelateDAO.CampusName + " is not null");
            return this;
        }
    
        public Criteria andCampusNameIsNotEmpty() {        
            addCriterion(ITeacherCampusRelateDAO.CampusName + " is not null AND " + ITeacherCampusRelateDAO.CampusName + " <> ''");
            return this;
        }
    		
    	public Criteria andCampusNameIsEmpty() {       
            addCriterion("(" + ITeacherCampusRelateDAO.CampusName + " is null OR " + ITeacherCampusRelateDAO.CampusName + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andCampusNameEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusName + " = ", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andCampusNameNotEqualTo(String value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.CampusName + " <>", value, "campusName");
            return this;
        }
               
        public Criteria andCampusNameNotEqualToOrIsNull(String value) {
        	        
            addCriterion(ITeacherCampusRelateDAO.CampusName + " is null OR " + ITeacherCampusRelateDAO.CampusName + " <>", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andCampusNameGreaterThan(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusName + " >", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andCampusNameGreaterThanOrEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusName + " >=", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andCampusNameLessThan(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusName + " <", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andCampusNameLessThanOrEqualTo(String value) {
        				
            addCriterion(ITeacherCampusRelateDAO.CampusName + " <=", value, "campusName");
            return this;
        }
        
        public Criteria andCampusNameLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(ITeacherCampusRelateDAO.CampusName);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andCampusNameLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andCampusNameLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(ITeacherCampusRelateDAO.CampusName + " like", buffer.toString(), "campusName");
            return this;
        }
        public Criteria andCampusNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(ITeacherCampusRelateDAO.CampusName + " not like", buffer.toString(), "campusName");
            return this;
        }
                
                public Criteria andCampusNameIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andCampusNameEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusName + " in", values, "campusName");
            	return this;
            }
        }
        public Criteria andCampusNameNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andCampusNameNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusName + " not in", values, "campusName");
            	return this;
            }
        }
        
        public Criteria andCampusNameIn(String[] values) {
        	
        	if(values.length == 1){
        		return andCampusNameEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusName + " in", Arrays.asList(values), "campusName");
            	return this;
            }
        }
        public Criteria andCampusNameNotIn(String[] values) {
        	if(values.length == 1){
        		return andCampusNameNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(ITeacherCampusRelateDAO.CampusName + " not in", Arrays.asList(values), "campusName");
            	return this;
            }
        }
		
		public Criteria andCampusNameIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andCampusNameNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(ITeacherCampusRelateDAO.CampusName + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andCampusNameBetween(String value1, String value2) {
            addCriterion(ITeacherCampusRelateDAO.CampusName + " between", value1, value2, "campusName");
            return this;
        }
        
                public Criteria andCampusNameNotBetween(String value1, String value2) {
            addCriterion(ITeacherCampusRelateDAO.CampusName + " not between", value1, value2, "campusName");
            return this;
        }
        
            	
    	    	    	        
        
    }
	
    
}